//
//  LdestinaCollectionReusableView.m
//  Travel
//
//  Created by lanou3g on 15/9/18.
//  Copyright (c) 2015年 TeamThree. All rights reserved.
//

#import "LdestinaCollectionReusableView.h"

@implementation LdestinaCollectionReusableView
-(void)dealloc{
    [_titleLabel release];
    [_Morebutton release];
    [_colorLbel release];
    [super dealloc];
}

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        _colorLbel = [[UILabel alloc] initWithFrame:CGRectMake(kWidth/(375/10), 10, kWidth/(375/10), kWidth/(375/20))];
        _colorLbel.backgroundColor = [UIColor orangeColor];
        [self addSubview:_colorLbel];
        
        
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(_colorLbel.frame.size.width + 20, 10, 100, _colorLbel.frame.size.height)];
        _titleLabel.backgroundColor = [UIColor blueColor];
        [self addSubview:_titleLabel];
        
        
        _Morebutton = [UIButton buttonWithType:(UIButtonTypeSystem)];
        _Morebutton.frame = CGRectMake(kWidth - 40, 10, 20, 20);
        [_Morebutton setImage:[UIImage imageNamed:@"poi_arrow_icon@2x"] forState:(UIControlStateNormal)];
        [self addSubview:_Morebutton];
        
    }
    return self;
}


@end
